import Mock from "mockjs";

Mock.mock("/getOne", {
    "list|20-30": [
        {
            key: "@id",
            name: "@name",
            "age|18-40": 18,
            address: "@city"
        }
    ]
})

Mock.mock("/getTwo", {
    "list|20-30": [
        {
            key: "@id",
            name: "@name",
            "age|18-40": 18,
            address: "@city"
        }
    ]
})